package com.zhucan.account.infrastructure.exception;

import java.math.BigDecimal;

/**
 * author: zhuCan
 * date: 2020/8/4 21:12
 * description: 取钱超上限异常
 */
public class AccountWithdrawOverrunException extends RuntimeException {

  public AccountWithdrawOverrunException(BigDecimal decimal) {
    super(String.format("取款超过限额: %s", decimal));
  }
}
